<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="utf-8">
		<title>OA管理系统</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<link rel="stylesheet" href="./css/x-admin.css" media="all">
	</head>
	<body>
		<div class="layui-layout layui-layout-admin">
			<div class="layui-header header header-demo">
				<div class="layui-main">
					<a class="logo" href="./index.html"> OA管理系统 </a>
					<ul class="layui-nav" lay-filter="">
						<li class="layui-nav-item"><img src="./images/logo.png" class="layui-circle" style="border: 2px solid #A9B7B7;"
							 width="35px" alt=""></li>
						<li class="layui-nav-item" data-th-if="${session.Account}!=null">
							<a href="javascript:;" data-th-text="${session.Account.account}"></a>
							<dl class="layui-nav-child">
								<!-- 二级菜单 -->
								<dd>
									<a href="">个人信息</a>
								</dd>
								<dd>
									<a href="">切换帐号</a>
								</dd>
								<dd>
									<a href="javascript:exit()">退出</a>
								</dd>
							</dl>
						</li>
						<li class="layui-nav-item" data-th-if="${session.Account}==null">

							<a href="/loginPage" data-th-text="登录"></a>

						</li>
						<li class="layui-nav-item" data-th-if="${session.Account}==null">
							<a href="/register" data-th-text="注册"></a>
						</li>
						<li class="layui-nav-item"><a href="" title="消息"> <i class="layui-icon" style="top: 1px;">&#xe63a;</i>
							</a></li>
						<li class="layui-nav-item x-index"><a href="/">前台首页</a></li>
					</ul>
				</div>
			</div>
			<div class="layui-side layui-bg-black x-side">
				<div class="layui-side-scroll">
					<ul class="layui-nav layui-nav-tree site-demo-nav" lay-filter="side">
						<li class="layui-nav-item"><a class="javascript:;" href="javascript:;"> <i class="layui-icon" style="top: 3px;">&#xe607;</i><cite>个人中心</cite>
							</a>
							<dl class="layui-nav-child">
								<dd class="">
								<dd class="">
									<a href="javascript:;" _href="./question-list.html"> <cite>问题列表</cite>
									</a>
								</dd>
								</dd>
								<dd class="">
								<dd class="">
									<a href="javascript:;" _href="./question-del.html"> <cite>删除问题</cite>
									</a>
								</dd>
								</dd>
							</dl>
						</li>

						<li class="layui-nav-item"><a class="javascript:;" href="javascript:;"> <i class="layui-icon" style="top: 3px;">&#xe634;</i><cite>任务管理</cite>
							</a>
							<dl class="layui-nav-child">
								<dd class="">
								<dd class="">
									<a href="javascript:;" _href="./banner-list.html"> <cite>轮播列表</cite>
									</a>
								</dd>
								</dd>
							</dl>
						</li>

						<li class="layui-nav-item"><a class="javascript:;" href="javascript:;"> <i class="layui-icon" style="top: 3px;">&#xe630;</i><cite>日志管理</cite>
							</a>
							<dl class="layui-nav-child">
								<dd class="">
									<a href="javascript:;" _href="/log_add"> <cite>发布日志</cite>
									</a>
								</dd>
								<dd class="">
									<a href="javascript:;" _href="/Log"> <cite>查询日志</cite>
									</a>
								</dd>
							</dl>
						</li>
						<li class="layui-nav-item"><a class="javascript:;" href="javascript:;"> <i class="layui-icon" style="top: 3px;">&#xe606;</i><cite>消息中心</cite>
							</a>
							<dl class="layui-nav-child">
								<dd class="">
									<a href="javascript:;" _href="/welcome"> <cite>数据中心</cite>
									</a>
								</dd>
								<dd class="">
									<a href="javascript:;" _href="/msg"> <cite>公告广场</cite>
									</a>
								</dd>
							</dl>
						</li>
						<li class="layui-nav-item"><a class="javascript:;" href="javascript:;"> <i class="layui-icon" style="top: 3px;">&#xe630;</i><cite>公司网盘</cite>
							</a>
							<dl class="layui-nav-child">
								<dd class="">
									<a href="javascript:;" _href="./category.html"> <cite>分类列表</cite>
									</a>
								</dd>
							</dl>
						</li>
						<li class="layui-nav-item"><a class="javascript:;" href="javascript:;"> <i class="layui-icon" style="top: 3px;">&#xe630;</i><cite>考勤管理</cite>
							</a>
							<dl class="layui-nav-child">
								<dd class="">
									<a href="javascript:;" _href="./category.html"> <cite>分类列表</cite>
									</a>
								</dd>
							</dl>
						</li>
						<li class="layui-nav-item"><a class="javascript:;" href="javascript:;"> <i class="layui-icon" style="top: 3px;">&#xe613;</i><cite>管理员管理</cite>
							</a>
							<dl class="layui-nav-child">
								<dd class="">
									<a href="javascript:;" _href="./admin-list.html"> <cite>管理员列表</cite>
									</a>
								</dd>
								<dd class="">
									<a href="javascript:;" _href="./admin-role.html"> <cite>角色管理</cite>
									</a>
								</dd>
								<dd class="">
									<a href="javascript:;" _href="./admin-cate.html"> <cite>权限分类</cite>
									</a>
								</dd>
								<dd class="">
									<a href="javascript:;" _href="./admin-rule.html"> <cite>权限管理</cite>
									</a>
								</dd>
							</dl>
						</li>

						<li class="layui-nav-item" style="height: 30px; text-align: center">
						</li>
					</ul>
				</div>

			</div>
			<div class="layui-tab layui-tab-card site-demo-title x-main" lay-filter="x-tab" lay-allowclose="true">
				<div class="x-slide_left"></div>
				<ul class="layui-tab-title">
					<li class="layui-this">我的桌面 <i class="layui-icon layui-unselect layui-tab-close">ဆ</i>
					</li>
				</ul>
				<div class="layui-tab-content site-demo site-demo-body">
					<div class="layui-tab-item layui-show">
						<iframe frameborder="0" src="./welcome.html" class="x-iframe"></iframe>
					</div>
				</div>
			</div>
			<div class="site-mobile-shade"></div>
		</div>
		<script src="./lib/layui/layui.js" charset="utf-8"></script>
		<script src="./js/x-admin.js"></script>
		<script>
			function exit() {
				$.ajax({
					type: "GET",
					url: "/clear",
					success: function(data) {
						window.location.href = "/"
					}
				});

			}
			var _hmt = _hmt || [];
			(function() {
				var hm = document.createElement("script");
				hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
				var s = document.getElementsByTagName("script")[0];
				s.parentNode.insertBefore(hm, s);
			})();
		</script>
	</body>
</html>
